package com.service.task.dao;

import java.util.Vector;

import com.service.task.domain.Task;


public interface TaskDAO 
{
	/**
	 * @param task
	 * @return task ID
	 */
	public int insert(Task task);
	
	/**
	 * @param task
	 * @return
	 */
	public int update(Task task);
	
	public Vector<Task> getList(int countryid, int taskTypeid);
	
	/**
	 * release all resource: DB ...
	 */
	public void close();
}
